<p>添加/修改文章</p>
<script type="text/javascript" src="<?php echo base_url();?>application/views/xheditor/xheditor-1.1.10-zh-cn.min.js"></script>
<form method="post">
	<p>题目：<input type="text" name="title" size="40" value="<?php echo $title;?>"/></p>
	<p>类型：
	<?php foreach($this->config->item('art_type') as $key => $value) {?>
	<input type="radio" name="type" value="<?php echo $key;?>" <?php if($type == $key) {?>checked="checked"<?php }?>/><?php echo $value;?>
	<?php }?>
	</p>
	<p>内容：<br />
	<textarea class="xheditor-mfull" name="content" rows="30" cols="80"><?php echo $content;?></textarea></p>
</form>
<button onclick="javascript:load_post('<?php echo $submit;?>');">提交</button>